package com.stylefeng.guns.modular.small.util;

public enum ResponseCode {

        SUCCESS("0000","SUCCESS"),
        ERROR("999","ERROR"),
        PARAM_ERROR("-1","参数错误");

        private final String code;
        private final String desc;

        ResponseCode(String code,String desc){
            this.code = code;
            this.desc = desc;
        }
        public String getCode(){
            return code;
        }
        public String getDesc(){
            return desc;
        }
    }